﻿namespace Proxy
{
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "Proxy.ISEColorRoca")]
    public interface ISEColorRoca
    {

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISEColorRoca/ListarColorRoca", ReplyAction = "http://tempuri.org/ISEColorRoca/ListarColorRocaResponse")]
        ColorRoca[] ListarColorRoca();

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISEColorRoca/InsertarColorRoca", ReplyAction = "http://tempuri.org/ISEColorRoca/InsertarColorRocaResponse")]
        int InsertarColorRoca(ColorRoca colorRoca);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISEColorRoca/ModificarColorRoca", ReplyAction = "http://tempuri.org/ISEColorRoca/ModificarColorRocaResponse")]
        void ModificarColorRoca(ColorRoca colorRoca);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISEColorRoca/EliminarColorRoca", ReplyAction = "http://tempuri.org/ISEColorRoca/EliminarColorRocaResponse")]
        void EliminarColorRoca(int codigoColorRoca);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISEColorRoca/BuscarColorRoca", ReplyAction = "http://tempuri.org/ISEColorRoca/BuscarColorRocaResponse")]
        ColorRoca[] BuscarColorRoca(string descripcion);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISEColorRoca/ObtenerColorRoca", ReplyAction = "http://tempuri.org/ISEColorRoca/ObtenerColorRocaResponse")]
        ColorRoca ObtenerColorRoca(int codigoColorRoca);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISEColorRoca/ObtenerListItem", ReplyAction = "http://tempuri.org/ISEColorRoca/ObtenerListItemResponse")]
        ListItemInt[] ObtenerListItem();
    }

    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface ISEColorRocaChannel : ISEColorRoca, System.ServiceModel.IClientChannel
    {
    }

    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SEColorRocaClient : System.ServiceModel.ClientBase<ISEColorRoca>, ISEColorRoca
    {

        public SEColorRocaClient()
        {
        }

        public SEColorRocaClient(string endpointConfigurationName) :
            base(endpointConfigurationName)
        {
        }

        public SEColorRocaClient(string endpointConfigurationName, string remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public SEColorRocaClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public SEColorRocaClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
            base(binding, remoteAddress)
        {
        }

        public ColorRoca[] ListarColorRoca()
        {
            return base.Channel.ListarColorRoca();
        }

        public int InsertarColorRoca(ColorRoca colorRoca)
        {
            return base.Channel.InsertarColorRoca(colorRoca);
        }

        public void ModificarColorRoca(ColorRoca colorRoca)
        {
            base.Channel.ModificarColorRoca(colorRoca);
        }

        public void EliminarColorRoca(int codigoColorRoca)
        {
            base.Channel.EliminarColorRoca(codigoColorRoca);
        }

        public ColorRoca[] BuscarColorRoca(string descripcion)
        {
            return base.Channel.BuscarColorRoca(descripcion);
        }

        public ColorRoca ObtenerColorRoca(int codigoColorRoca)
        {
            return base.Channel.ObtenerColorRoca(codigoColorRoca);
        }

        public ListItemInt[] ObtenerListItem()
        {
            return base.Channel.ObtenerListItem();
        }
    }

}